package com.servlet;

import java.util.Arrays;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Test {
	public static void main(String[] args) {
		
		String[]aa=new String[]{"a","b"};

		String tmp = Arrays.toString(aa);
		System.err.println("tmp==="+tmp);
		Pattern p = Pattern.compile("a");
        Matcher m = p.matcher(tmp);
        if (m.find()==true) {
			System.out.println("返回true");
		}else {
			System.out.println("返回false");
		}

}}
